'use strict';
function actionsheet(options = {}, select) {
  const node = this.selectComponent(select || '#actionsheet');
  node.init(options);
}

export default (options = {}) => {
  return function (app) {
    this.on('page/onLoad', page => {
      page.$actionsheet = actionsheet;
    })
  };
};
